package cn.fboost.mtos.service;

import cn.fboost.mtos.dto.Response;
import cn.fboost.mtos.dto.request.*;

public interface ProductService {
    Response listByCategory(ProductListByCategoryRequest request);

    Response listByMonthlySales(ProductListByMonthlySalesRequest request);

    Response detail(Integer id);

    Response create(ProductCreateRequest request);

    Response update(ProductUpdateRequest request);

    Response delete(ProductDeleteRequest request);

    Response count();

    Response list(PageRequest request);

    Response getComments(Integer id);
}
